/*
 * @Description: 
 * @Author: renmr
 * @Date: 2023-03-15 17:07:09
 */
import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);
const routes = [
    {
        path: "/",
        redirect: "/home",
    },{
        path:'/home',
        component: () => import("@/views/projectA/Home"),
        meta:{title:'首页',type:'projectA'}
    }
]
const router = new VueRouter({
    // mode: 'history',  //去掉url中的#
    routes,
    scrollBehavior (to, from, savedPosition) {   return { x: 0, y: 0 } },
});

export default router;